import { Utility } from "@/libs/utility"
export const vitalSignMonitoringRecordForm = [
	{
		fieldName: "id",
		fieldCNName: "",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "",
	},
	{
		fieldName: "retestId",
		fieldCNName: "",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "",
	},
	{
		fieldName: "sex",
		fieldCNName: "性别",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "",
	},
	{
		fieldName: "examineeEn",
		fieldCNName: "受试者简称",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "",
	},
	{
		/** 字段名，如：name */
		fieldName: "examineeCode",
		/** 字段对应的中文解释，如：姓名 */
		fieldCNName: "受试者编号",
		/** 字段的值，如：张三 */
		filedValue: 1,
		disabled: true,
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputText",
		rules: {
			required: true, // 只有为true的时候才写，为false这个字段不要
		},
		span: 2,
	},
	{
		disabled: true,
		/** 字段名，如：name */
		fieldName: "examineeName",
		/** 字段对应的中文解释，如：姓名 */
		fieldCNName: "受试者姓名",
		/** 字段的值，如：张三 */
		filedValue: 1,
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputText",
		rules: {
			required: true, // 只有为true的时候才写，为false这个字段不要
		},
		span: 2,
	},
	{
		disabled: true,
		/** 字段名，如：name */
		fieldName: "filterNo",
		/** 字段对应的中文解释，如：姓名 */
		fieldCNName: "筛选号",
		/** 字段的值，如：张三 */
		filedValue: 1,
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputText",
		rules: {
			required: true, // 只有为true的时候才写，为false这个字段不要
		},
		span: 2,
	},
	{
		fieldName: "monitorBeginTime",
		fieldCNName: "监测开始时间",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "datetime",
		span: 2,
		rules: {
			required: true, // 只有为true的时候才写，为false这个字段不要
		},
	},
	{
		fieldName: "monitorEndTime",
		fieldCNName: "监测结束时间",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "datetime",
		span: 2,
		rules: {
			required: true, // 只有为true的时候才写，为false这个字段不要
		},
	},
	{
		fieldName: "sbp",
		fieldCNName: "收缩压(mmHg)",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputNumber",
		span: 2,
		// rules: {
		// 	required: true, // 只有为true的时候才写，为false这个字段不要
		// },
	},
	{
		fieldName: "dbp",
		fieldCNName: "舒张压(mmHg)",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputNumber",
		span: 2,
		// rules: {
		// 	required: true, // 只有为true的时候才写，为false这个字段不要
		// },
	},
	{
		fieldName: "arm",
		fieldCNName: "手臂",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "select",
		itemList: Utility.getDictList("collect_fingers"),
		span: 2,
	},

	{
		fieldName: "bbt",
		fieldCNName: "体温（℃）",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputNumber",
		span: 2,
		// rules: {
		// 	required: true, // 只有为true的时候才写，为false这个字段不要
		// },
	},
	{
		fieldName: "pulse",
		fieldCNName: "脉搏（次/分）",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputNumber",
		span: 2,
		// rules: {
		// 	required: true, // 只有为true的时候才写，为false这个字段不要
		// },
	},
	{
		fieldName: "breathe",
		fieldCNName: "呼吸（次/分）",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputNumber",
		span: 2,
		// rules: {
		// 	required: true, // 只有为true的时候才写，为false这个字段不要
		// },
	},
	{
		fieldName: "csJudgeByName",
		fieldCNName: "判断人名称",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputText",
		span: 2,
	},
	{
		fieldName: "csJudge",
		fieldCNName: "异常临床判断",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "select",
		itemList: Utility.getDictList("cs_judge"),
		span: 2,
	},
	{
		fieldName: "csJudgeTime",
		fieldCNName: "判断时间",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "datetime",
		span: 2,
	},
	{
		// 这里应该是选择的，后面再确认
		fieldName: "createByName",
		fieldCNName: "监测人",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputText",
		span: 2,
		disabled: true,
	},
	{
		// 这里应该是选择的，后面再确认
		fieldName: "createTime",
		fieldCNName: "监测时间",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputText",
		span: 2,
		disabled: true,
	},
	{
		fieldName: "checkPict",
		fieldCNName: "检查图片",
		span: 2,
		filedValue: "",
		type: "upload",
		/**  是否开启多选功能，true一次可选多个，false一次一个 */
		multiple: true,
		/** 接收类型：参考：https://www.w3cschool.cn/htmltags/att-input-accept.html   基础类型：image/*  ，*.xlsx   *.xls */
		accept: "image/*",
		// ****** 重点： 这里都要传限制个数，大于0，小于100
		limit: 10,
	},
]
